const getters = {
  deployUploadApi: state => state.api.deployUploadApi,
  databaseUploadApi: state => state.api.databaseUploadApi,
  size: state => state.app.size,
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  roles: state => state.user.roles,
  user: state => state.user.user,
  loadMenus: state => state.user.loadMenus,
  password: state => state.user.password,
  permission_routers: state => state.permission.routers,
  addRouters: state => state.permission.addRouters,
  socketApi: state => state.api.socketApi,
  imagesUploadApi: state => state.api.imagesUploadApi,
  baseApi: state => state.api.baseApi,
  fileUploadApi: state => state.api.fileUploadApi,
  uploadApi: state => state.api.uploadApi,
  updateAvatarApi: state => state.api.updateAvatarApi,
  qiNiuUploadApi: state => state.api.qiNiuUploadApi,
  sqlApi: state => state.api.sqlApi,
  swaggerApi: state => state.api.swaggerApi,

  // 字典相关
  deliveryTypes: state => state.dict.deliveryType,
  wareHousingTypes: state => state.dict.wareHousingType,
  drugTypes: state => state.dict.drugType,
  workunitTypes: state => state.dict.workunitsType,
  nationTypes: state => state.dict.nationsType,
  maritalstatusTypes: state => state.dict.maritalstatussType,
  accountsourceTypes: state => state.dict.accountsourcesType,
  processCost: state => state.dict.processCost, // 饮片加工费
  gfPocessCost: state => state.dict.gfPocessCost, // 膏方加工费
  packageUnit: state => state.dict.packageUnit, // 包装单位
  doseUnit: state => state.dict.doseUnit, // 剂量单位
  frequencys: state => state.dict.frequencys, // 用药频次
  dectionName: state => state.dict.dectionName, // 煎法
  sizes: state => state.dict.sizes, // 分页配置
  expressChannel: state => state.dict.expressChannel, // 物流公司
  nextRemarks: state => state.dict.nextRemarks,
  reissueReasons: state => state.dict.reissueReasons
}
export default getters
